var workmate1={
  name:'马优晨',
  age:33,
  sex:1,
  job:'前端',
  skill:{
      skillOne:'HTML+CSS',
      SkillTwo:'JavaScript',
      SkillThree:'PHP'
  },
  regeditTime:new Date()
}
var workmate2={
  name:'小明',
  age:30,
  sex:1,
  job:'JAVA后端',
  skill:{
      skillOne:'HTML+CSS',
      SkillTwo:'J2EE',
      SkillThree:'PPT'
  },
  regeditTime:new Date()
}
var workmate3={
  name:'小花',
  age:20,
  sex:1,
  job:'UI设计',
  skill:{
      skillOne:'PhotoShop',
      SkillTwo:'UI',
      SkillThree:'Word+Excel+PPT'
  },
  regeditTime:new Date()
}
var db=connect('youchen');
var workmateArray=[workmate1,workmate2,workmate3];
db.test.insert(workmateArray);
print('[SUCCESS]: The data was inserted successfully.');

